define(function(require, exports){
	exports.onMain = function( boot, data, app ) {
		var con = app.getContainer({
			scenes: 'main',
			full: false,
			sitelist: false,
			setup_btn: false,
			title: LANG('渠道任务'),
			type: 'sidebar'
		});

		con.createBusiness(data.name, 'exchange/action/task.list', function(mod, notFirst){
				mod.reset().reload();
		});
	};
});